package com.zhongwang.mms.gen.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class HInventoryProjectMark {
    private Integer ipmId;

    private Integer ipmRppId;

    private Integer ipmProposerId;

    private Date ipmDate;

    private String ipmRemark;

    private String ipmItyType;

    private Double ipmNum;

    private Double ipmWeight;

    private Date ipmExecDate;

    private Integer ipmExecutorId;

    private String ipmInProjectCode;

    private String ipmInProjectName;

    private Integer ipmBeforeItyId;

    private Integer ipmAfterItyId;

    private Integer ipmExecStatus;

    private Integer ipmAppStatus;

    private Integer ipmOutOdrId;

    private Integer ipmInOdrId;

    private String ipmMatCode;

    private String ipmMatDesc;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startOdrMakeDate;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endOdrMakeDate;

    private Integer ityMatType;

    public HInventoryProjectMark(Integer ipmId, Integer ipmRppId, Integer ipmProposerId, Date ipmDate, String ipmRemark, String ipmItyType, Double ipmNum, Double ipmWeight, Date ipmExecDate, Integer ipmExecutorId, String ipmInProjectCode, String ipmInProjectName, Integer ipmBeforeItyId, Integer ipmAfterItyId, Integer ipmExecStatus, Integer ipmAppStatus, Integer ipmOutOdrId, Integer ipmInOdrId, String ipmMatCode, String ipmMatDesc) {
        this.ipmId = ipmId;
        this.ipmRppId = ipmRppId;
        this.ipmProposerId = ipmProposerId;
        this.ipmDate = ipmDate;
        this.ipmRemark = ipmRemark;
        this.ipmItyType = ipmItyType;
        this.ipmNum = ipmNum;
        this.ipmWeight = ipmWeight;
        this.ipmExecDate = ipmExecDate;
        this.ipmExecutorId = ipmExecutorId;
        this.ipmInProjectCode = ipmInProjectCode;
        this.ipmInProjectName = ipmInProjectName;
        this.ipmBeforeItyId = ipmBeforeItyId;
        this.ipmAfterItyId = ipmAfterItyId;
        this.ipmExecStatus = ipmExecStatus;
        this.ipmAppStatus = ipmAppStatus;
        this.ipmOutOdrId = ipmOutOdrId;
        this.ipmInOdrId = ipmInOdrId;
        this.ipmMatCode = ipmMatCode;
        this.ipmMatDesc = ipmMatDesc;
    }

    public HInventoryProjectMark() {
        super();
    }

    public Integer getIpmId() {
        return ipmId;
    }

    public void setIpmId(Integer ipmId) {
        this.ipmId = ipmId;
    }

    public Integer getIpmRppId() {
        return ipmRppId;
    }

    public void setIpmRppId(Integer ipmRppId) {
        this.ipmRppId = ipmRppId;
    }

    public Integer getIpmProposerId() {
        return ipmProposerId;
    }

    public void setIpmProposerId(Integer ipmProposerId) {
        this.ipmProposerId = ipmProposerId;
    }

    public Date getIpmDate() {
        return ipmDate;
    }

    public void setIpmDate(Date ipmDate) {
        this.ipmDate = ipmDate;
    }

    public String getIpmRemark() {
        return ipmRemark;
    }

    public void setIpmRemark(String ipmRemark) {
        this.ipmRemark = ipmRemark == null ? null : ipmRemark.trim();
    }

    public String getIpmItyType() {
        return ipmItyType;
    }

    public void setIpmItyType(String ipmItyType) {
        this.ipmItyType = ipmItyType == null ? null : ipmItyType.trim();
    }

    public Double getIpmNum() {
        return ipmNum;
    }

    public void setIpmNum(Double ipmNum) {
        this.ipmNum = ipmNum;
    }

    public Double getIpmWeight() {
        return ipmWeight;
    }

    public void setIpmWeight(Double ipmWeight) {
        this.ipmWeight = ipmWeight;
    }

    public Date getIpmExecDate() {
        return ipmExecDate;
    }

    public void setIpmExecDate(Date ipmExecDate) {
        this.ipmExecDate = ipmExecDate;
    }

    public Integer getIpmExecutorId() {
        return ipmExecutorId;
    }

    public void setIpmExecutorId(Integer ipmExecutorId) {
        this.ipmExecutorId = ipmExecutorId;
    }

    public String getIpmInProjectCode() {
        return ipmInProjectCode;
    }

    public void setIpmInProjectCode(String ipmInProjectCode) {
        this.ipmInProjectCode = ipmInProjectCode == null ? null : ipmInProjectCode.trim();
    }

    public String getIpmInProjectName() {
        return ipmInProjectName;
    }

    public void setIpmInProjectName(String ipmInProjectName) {
        this.ipmInProjectName = ipmInProjectName == null ? null : ipmInProjectName.trim();
    }

    public Integer getIpmBeforeItyId() {
        return ipmBeforeItyId;
    }

    public void setIpmBeforeItyId(Integer ipmBeforeItyId) {
        this.ipmBeforeItyId = ipmBeforeItyId;
    }

    public Integer getIpmAfterItyId() {
        return ipmAfterItyId;
    }

    public void setIpmAfterItyId(Integer ipmAfterItyId) {
        this.ipmAfterItyId = ipmAfterItyId;
    }

    public Integer getIpmExecStatus() {
        return ipmExecStatus;
    }

    public void setIpmExecStatus(Integer ipmExecStatus) {
        this.ipmExecStatus = ipmExecStatus;
    }

    public Integer getIpmAppStatus() {
        return ipmAppStatus;
    }

    public void setIpmAppStatus(Integer ipmAppStatus) {
        this.ipmAppStatus = ipmAppStatus;
    }

    public Integer getIpmOutOdrId() {
        return ipmOutOdrId;
    }

    public void setIpmOutOdrId(Integer ipmOutOdrId) {
        this.ipmOutOdrId = ipmOutOdrId;
    }

    public Integer getIpmInOdrId() {
        return ipmInOdrId;
    }

    public void setIpmInOdrId(Integer ipmInOdrId) {
        this.ipmInOdrId = ipmInOdrId;
    }

    public String getIpmMatCode() {
        return ipmMatCode;
    }

    public void setIpmMatCode(String ipmMatCode) {
        this.ipmMatCode = ipmMatCode == null ? null : ipmMatCode.trim();
    }

    public String getIpmMatDesc() {
        return ipmMatDesc;
    }

    public void setIpmMatDesc(String ipmMatDesc) {
        this.ipmMatDesc = ipmMatDesc == null ? null : ipmMatDesc.trim();
    }
}